#ifndef CGraphics_H
#define CGraphics_H
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <glog/logging.h>
#include "CIcon.h"
#include "CText.h"
#include "CCpu.h"
#include "CRam.h"
#include "CTemperature.h"
#include "CSerial.h"
class CGraphics
{
public:
	CGraphics();
	~CGraphics();
	int mainLoop();
private:
	CSerial arduinoSerial;
	sf::RenderWindow mainWindow;
	CIcon processor;
	int init();
	void update();
	sf::Vector2u windowSize;
	CText testText;
	CCpu raspiCpu;
	CText ramText;
	CIcon ram;
	CRam raspiRam;
	CIcon temperature;
	const int CONNECTION_LIMIT = 0;
};

#endif //CGraphics_H